﻿using System.Security.Cryptography;
using System.Text;

namespace MyDocuments.Shared
{
    public class FileNames
    {
        static int index = 0;
        static object _lock = new object();
        public FileNames()
        {
            lock (_lock) { index++; this.Id = $"key_{index}"; }
        }
        public string Id { get; set; }
        public string Name { get; set; }
        public string Path { get; set; }
        public string Pwd { get; set; }
        public bool isDirectory { get; set; }
        public List<FileNames> Children { get; set; }
    }
}
